Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporary fix model.ts json api #3112

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

SpaghettiMonkey
Copy link

@SpaghettiMonkey SpaghettiMonkey commented Mar 10, 2024

Fixes kemono api not working and allows to see galleries content
thumbnail is still missing in gallery, should concatenate "file" json section with "attachments" somehow...

thumbnail is still missing in gallery, should concatenate "file" json section with "attachments" somehow...
@Vynsyc
Copy link

Vynsyc commented Mar 19, 2024

After much laborious "coding" and copypasting with the help of AI (note: I am not a programmer at all), I have finally managed to make the code work and can confidently say both thumbnails and embedded posts appear without issue. Downloads also work, despite a speed slowdown which might just be on my end.

Random Proof
Screenshot 2024-03-19 161625
rjs

Existing issues:

  • Going through the pages seem to always return the front page of Kemono instead displaying the next page.
  • Posts pulled from user pages don't appear to be in order.
  • Some users cannot be searched.

@Bionus
Copy link
Owner

Bionus commented May 12, 2024

https://kemono.su/api/v1/recent does not give any results to me 🤔
Was it moved to another path?

@papaj-na-wrotkach
Copy link

https://kemono.su/api/v1/recent does not give any results to me 🤔 Was it moved to another path?

@Bionus maybe /posts is what you are looking for?
See Kemono API schema docs for more info. It's the second endpoint there rn.

@Bionus
Copy link
Owner

Bionus commented Jun 3, 2024

Thanks for the link! So it seems it got changed again since this PR was changing it to /v1/recent which returns 404 but /posts seem to work fine. I'll be able to iterate on this then 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants